package com.cts.model.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @projectName: CBlog
 * @package: com.cts.model.vo
 * @className: PageResultVO
 * @author: chentongsheng
 * @description: TODO
 * @date: 2023/2/20 22:16
 * @version: 1.0
 */
@Data
@NoArgsConstructor
public class PageResultVO<T> {

    private Long total;
    private List<T> pageData;

    public PageResultVO(Long total, List<T> pageData){
        this.total = total;
        this.pageData = pageData;
    }
}
